Skip to content

Conversation

@mtfishman
Copy link
Collaborator

Split off from #19.

@mtfishman
Copy link
Collaborator Author

mtfishman commented Apr 24, 2025

The motivation is to make the interface closer to sort, and also because I think it would be easy to forget which argument is which if they are kept as positional arguments. (I.e. I think truncrank(10; by=abs, rev=false) is more self-explanatory than truncrank(10, abs, false)).

@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/implementations/truncation.jl 87.32% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman merged commit 2364e25 into QuantumKitHub:main Apr 24, 2025
9 checks passed
@mtfishman mtfishman deleted the truncrank_kwargs branch April 24, 2025 16:14
Jutho pushed a commit that referenced this pull request May 11, 2025
mtfishman referenced this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants